package com.gg.common.mapper;

import com.gg.common.pojo.DFile;
import com.gg.common.pojo.MApply;
import com.gg.zjj.pojo.ProductionPlanNumberGroupVIew;
import com.gg.zjj.view.MapplyView;

import java.util.List;

public interface MApplyMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MApply record);

    int insertSelective(MApply record);

    MApply selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MApply record);

    int updateByPrimaryKey(MApply record);

    String queryTheLastProductionPlanNumber();

    void addProductionPlanMapper(MapplyView view);

    List<MApply> queryTheProductionPlanToBeReviewed();

    List<MApply> queryPendingProductionPlanMapper(String productionPlanNumber);

    void productionPlanApprovedMapper(MApply productionPlanNumber);

    void productionPlanRejectionMapper(MApply productionPlanNumber);

    List<MApply> queryAllProductionPlansMapper();

    List<MApply> queryTheCurrentProductionPlanMapper(String productionPlanNumber);

    void modifyProductProductionPlanningStatus(ProductionPlanNumberGroupVIew groupVIew);
}